package com.suieqian.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 菜单
 *
 * @author lirch
 */
@Data
@Accessors(chain = true)
public class SysMenuResp {

    @ApiModelProperty("菜单id")
    private Long id;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("菜单链接")
    private String path;

    @ApiModelProperty("菜单链接")
    private String icon;

    @ApiModelProperty("菜单权限")
    private String permission;

    @ApiModelProperty("菜单样式")
    private String htmlStyle;

    @ApiModelProperty("父菜单id")
    private Long parentId;

    @ApiModelProperty("菜单类型（M目录 C菜单 F按钮）")
    private Integer menuType;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("菜单状态（0正常 1停用）")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("父菜单名称")
    private String parentName;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    private Long createId;

    @ApiModelProperty("更新人")
    private Long updateId;

    @ApiModelProperty("更新人姓名")
    private String updateName;

}